package com.dkts.oil.web.vo.response.subReq;

import com.dkts.oil.web.vo.request.subReq.ObstacleType;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "障碍物类型")
@Data
public class OilStorageAddress {
    private Double area;

    @Schema(description  = "障碍物的边界" ,example = "POLYGON ((116.602193434 40.1440008202, 116.6008023425 40.1352043387, 116.599411583 40.1264079135, 116.6112594604 40.1253749644, 116.6098676386 40.116578727, 116.6217137897 40.1155448609, 116.6245005541 40.1331371285, 116.6126516145 40.134171258, 116.6140441009 40.1429676079, 116.602193434 40.1440008202))")
    private String boundWkt;

    @Schema(description  = "周长" ,example = "1")
    private double perimeter;

    @Schema(description  = "距离中心点的距离" ,example = "1")
    private Double centerDistance;

    @Schema(description  = "推荐列表中的位置" ,example = "1")
    @JsonIgnore
    private Integer index;
}
